#pragma once

#include <QProcess>
#include <QDir>
#include "pioplugin.h"

class PrintPlugin : public QObject, PioPlugin
{
    Q_OBJECT
    Q_INTERFACES(PioPlugin)

public:
    PrintPlugin(QObject * parent = 0);
    ~PrintPlugin();
    void setup(PioCore * core);
    QStringList licenseInfo();

private slots:
    void print();
    void print(QPrinter* printer);

private:
    PioCore * m_core;
    QAction * m_action;
    class PrintWindow * m_window;
};

